    package database.entity;  
     
    import java.sql.Timestamp;  

     
    public class Product {  
     
       private Integer id;  
       private String name;  
       private Timestamp currentTime;  
       private Double price;  
     
       public Product(){  
           name = "";  
           currentTime = new Timestamp(System.currentTimeMillis());  
           price = new Double(0);  
       }  
     
       public Timestamp getCurrentTime() {  
           return currentTime;  
       }  
     
       public void setCurrentTime(Timestamp currentTime) {  
           this.currentTime = currentTime;  
       }  
     
     
       public Integer getId() {  
           return id;  
       }  
     
       public void setId(Integer id) {  
           this.id = id;  
       }  
     
       public String getName() {  
           return name;  
       }  
     
       public void setName(String name) {  
           this.name = name;  
       }      
     
       public Double getPrice() {  
           return price;  
       }  
     
       public void setPrice(Double price) {  
           this.price = price;  
       }  
       
       
    } 